﻿using System;
using RpcModularModel.Resource;

namespace Wedonek.RpcStore.Service.Model
{
    /// <summary>
    /// 资源资料
    /// </summary>
    public class ResourceData
    {
        /// <summary>
        /// 资源Id
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 模块Id
        /// </summary>
        public Guid ModularId { get; set; }
        /// <summary>
        /// 资源路径
        /// </summary>
        public string ResourcePath { get; set; }
        /// <summary>
        /// 完整路径
        /// </summary>
        public string FullPath { get; set; }
        /// <summary>
        /// 资源说明
        /// </summary>
        public string ResourceShow { get; set; }
        /// <summary>
        /// 资源状态
        /// </summary>
        public ResourceState ResourceState { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        public long VerNum { get; set; }
        /// <summary>
        /// 资源版本
        /// </summary>
        public int ResourceVer { get; set; }
        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime? LastTime { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }
    }
}
